package com.copro.chemdb.stat.rule;

import org.ihelpuoo.util.Properties;

import com.copro.chemdb.stat.AbstractStatRule;
import com.copro.chemdb.stat.StatResult;
import com.copro.chemdb.subject.Subject;
import com.copro.simple.Application;
import com.copro.simple.SimpleException;

public class DefaultStatRule extends AbstractStatRule {

	@Override
	public StatResult doStat(Application app, Subject subject, int type)
			throws SimpleException {
		throw new SimpleException("You can not count subject ["
				+ subject.getCode() + "],it use the default rule!");
	}

	@Override
	public void setup(Properties conf) {

	}

}
